#!/usr/bin/env python
#Self Replicating Software test
import random
import file_con

def gen_key():
	shuffle = random.randint(1,100)
	
	num1 = [0,22,76,32,66,2344]
	
	num2 = [0,92,10,11,30,50]
	while shuffle != 12312:
		
		shuffle = random.randint(1,100000)
		
		multi1 = random.randint(900, 405032)
		print multi1, "< MULTI"
		
		print "\n"
		
		print shuffle, "< SHUFFLE"
		

		if shuffle == 12312:
			print "done"
	
	ran1 = random.randint(1,4)
	
	ran2 = random.randint(1,4)
	
	print ran1
	
	print ran2
	
	com = num1[ran1] + num2[ran2] * multi1 + random.randint(0, 9000000) * random.randint(500, 4000)


	print com

def insert_into_code():
	print "placeholders"
	##this area needs to generate alot of keys(line number based?) and, 
	#insert them into a file as a def statement which does nothing but have a variable with the key in it


def main():
	gen_key()
	
	return 0

if __name__ == '__main__': main()
